package com.personal_workspace_java.service;

import com.personal_workspace_java.model.en.HotPost;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import com.personal_workspace_java.model.vo. HotPostVo;
import com.personal_workspace_java.model.dto.HotPostDto;
import com.personal_workspace_java.common.PageResponse;
import java.util.List;
/**
* @author 19324
*/
@Service
public interface HotPostService extends IService<HotPost> {

    void create(HotPostDto hotPostDto);

    HotPostVo queryByHotPostId(HotPostDto hotPostDto);

    HotPostVo queryByOther(HotPostDto hotPostDto);

    List<HotPostVo> queryAll();

    void deleteByHotPostId(HotPostDto hotPostDto);

    void updateByHotPostId(HotPostDto hotPostDto);

    PageResponse<HotPostVo> queryHotPostByPage(HotPostDto hotPostDto);
}